<?php

namespace Emoney\EpayBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Emoney\EpayBundle\Entity\ApiType
 *
 * @ORM\Table()
 * @ORM\Entity(repositoryClass="Emoney\EpayBundle\Entity\ApiTypeRepository")
 */
class ApiType
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string $name
     *
     * @ORM\Column(name="name", type="string", length=255)
     */
    private $name;

    /**
     * @var string $apiFormat
     *
     * @ORM\Column(name="apiFormat", type="string", length=255)
     */
    private $apiFormat;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set name
     *
     * @param string $name
     */
    public function setName($name)
    {
        $this->name = $name;
    }

    /**
     * Get name
     *
     * @return string 
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * Set apiFormat
     *
     * @param string $apiFormat
     */
    public function setApiFormat($apiFormat)
    {
        $this->apiFormat = $apiFormat;
    }

    /**
     * Get apiFormat
     *
     * @return string 
     */
    public function getApiFormat()
    {
        return $this->apiFormat;
    }
}